package com.jr.controller;


import com.jr.entity.Resume;
import com.jr.service.ResumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * 简历表
 *
 * @author Snoopy
 * @since 1.0.0 2022-12-31
 */
@RestController

public class ResumeController {
    @Autowired
    private ResumeService resumeService;

    /**
     * @description: 一分钟填写简历的添加
     * @author: 王子华
     * @date: 2023/1/4 19:47
     * @param: [uid]
     * @return: void
     **/

    @RequestMapping("insertinfo")
    public void insertinfo(Resume resume){
        System.out.println("个人简历"+resume);
        int i =resumeService.insertinfo(resume);
        System.out.println(i);
    }

}